import Vue from 'vue'
import App from './App.vue'
import less from 'less'
import VueRouter from "vue-router"
import {routes} from "./routes"
import ElementUI from "element-ui"
import "element-ui/lib/theme-chalk/index.css"


Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(less);

var router = new VueRouter(
  {
    mode: 'history',
    base: __dirname, 
    routes
  }
);

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
